//引入redux中的createStore函数，创建一个store
//applyMiddleWare是一个解决异步的中间件
import {createStore,applyMiddleware} from "redux";
// createStore调用时要传入一个为其服务的reducer
import reserveReducer from './reducers/reserveReducer'
//解决异步
import thunk from "redux-thunk";

//保罗store对象
export default createStore(reserveReducer,applyMiddleware(thunk))